package day10.pack7;

import java.util.Calendar;

public class Test1 {
    public static void main(String[] args) {
        Calendar instance = Calendar.getInstance();
        instance.set(Calendar.YEAR, 3000);
        int year = instance.get(Calendar.YEAR);
        int month = instance.get(Calendar.MONTH) + 1;
        int day = instance.get(Calendar.DATE);
        int hour = instance.get(Calendar.HOUR_OF_DAY);
        int minute = instance.get(Calendar.MINUTE);
        int second = instance.get(Calendar.SECOND);
        System.out.println(year + "/" + month + "/" + day + " " +
                hour + ":" + minute + ":" + second);
//        System.out.println(System.currentTimeMillis());
    }
}
